#!/usr/bin/env python
# coding:utf-8

def bubble_sort(x):
	for i in range(len(x)):
		for j in range(i):
			if x[j] > x[j+1]:
				x[j],x[j+1] = x[j+1],x[j]
	print (x)